﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class AudiosManager : MonoBehaviour {

    private static AudiosManager _instance;

    public static AudiosManager Instance
    {
        get
        {
            return _instance;
        }
    }
    public AudioSource efxSource;

    private void Start()
    {
        _instance = this;
    }

    public void AudioPlay( AudioClip clip)
    {
        efxSource.clip = clip;
        efxSource.Play();
    }
}
